package com.sendtion.xrichtext;

import ohos.agp.components.AttrSet;
import ohos.agp.components.TextField;
import ohos.app.Context;

/**
 * 可删除的EditText，主要用途是处理软键盘回删按钮backSpace时回调OnKeyListener
 *
 * @since 2021-06-22
 */
public class DeletableEditText extends TextField {
    /**
     * DeletableEditText
     *
     * @param context
     */
    public DeletableEditText(Context context) {
        super(context);
    }

    /**
     * DeletableEditText
     *
     * @param context
     * @param attrSet
     */
    public DeletableEditText(Context context, AttrSet attrSet) {
        super(context, attrSet);
    }

    /**
     * DeletableEditText
     *
     * @param context
     * @param attrSet
     * @param styleName
     */
    public DeletableEditText(Context context, AttrSet attrSet, String styleName) {
        super(context, attrSet, styleName);
    }
}